package vis;

import logic.PlayfairCipher;

public class DecipherChecker implements TextChecker {

	private PlayfairCipher cipher;
	
	public DecipherChecker(PlayfairCipher cipher)
	{
		this.cipher = cipher;
	}
	
	@Override
	public String getCorrect(String input) {
		return cipher.decipherString(input);
	}

}
